import request from '@/utils/request'

//数据提交
export function submitData(data) {
  return request({
    url: '/renovation/planningBudget/farmlandEstimate/save',
    method: 'post',
    json: data
  })
}

//获取页面数据
export function getDetail(data) {
  return request({
    url: '/renovation/planningBudget/farmlandEstimate/detail',
    method: 'post',
    formData: data
  })
}

//获取项目基础数据
export function getData(data) {
  return request({
    url: '/renovation/planningBudget/project/detail',
    method: 'post',
    formData: data
  })
}

//获取审查意见
export function getAdvice(data) {
  return request({
    url: '/renovation/examineOpinion/detail',
    method: 'post',
    formData: data
  })
}

//添加审查意见
export function addAdvice(data) {
  return request({
    url: '/renovation/examineOpinion/add',
    method: 'post',
    formData: data
  })
}

//获取当前用户签名
export function getSignature(data) {
  return request({
    url: '/renovation/user/currentUserSignature',
    method: 'post',
    formData: data
  })
}
